﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace CatalogModule
{
    class GenericCommand:ICommand
    {
        #region Fields

        // Member variables
        //local viewmodel here

        #endregion

        #region Constructor

        /// <summary>
        /// Default constructor.
        /// </summary>
        /// 
        //Inject ViewModel Here
        public GenericCommand()
        {

        }

        #endregion

        #region ICommand Members

        /// <summary>
        /// Whether the ShowModuleBViewCommand is enabled.
        /// </summary>
        public bool CanExecute(object parameter)
        {
            return true;
        }

        /// <summary>
        /// Actions to take when CanExecute() changes.
        /// </summary>
        public event EventHandler CanExecuteChanged
        {
            add { CommandManager.RequerySuggested += value; }
            remove { CommandManager.RequerySuggested -= value; }
        }

        /// <summary>
        /// Executes the ShowModuleBViewCommand
        /// </summary>
        public void Execute(object parameter)
        {
        }

        #endregion

        #region Private Methods

        #endregion
    }
}
